package model;

import java.util.ArrayList;
import java.util.List;

public class Grid {
	private long id;
	private String city;
	private String gridName;
	private List<MyPoint> pointList=new ArrayList<>();
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getGridName() {
		return gridName;
	}
	public void setGridName(String gridName) {
		this.gridName = gridName;
	}
	public List<MyPoint> getPointList() {
		return pointList;
	}
	public void setPointList(List<MyPoint> pointList) {
		this.pointList = pointList;
	}
	
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	@Override
	public String toString() {
		return "Grid [city=" + city + ", gridName=" + gridName + ", pointListSize()="
				+ pointList.size() + "]";
	}
	
}
